package com.matt.foundation.vo.roleJob;

import lombok.Data;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/8/3
 * *******************************
 */
@Data
public class RoleJobListVo {

    private String jobId ;

    private String title;

    private String content;

    private String imgUrl;

    private Integer expValue ;

    private String actionUrl;

    private String roleCode;

    private boolean isFinish ;



    public static RoleJobListVo of(String jobId,String title,String content,String imgUrl,Integer expValue,String actionUrl,String roleCode,boolean isFinish) {
        RoleJobListVo vo = new RoleJobListVo();
        vo.setJobId(jobId);
        vo.setTitle(title);
        vo.setContent(content);
        vo.setImgUrl(imgUrl);
        vo.setExpValue(expValue);
        vo.setActionUrl(actionUrl);
        vo.setRoleCode(roleCode);
        vo.setFinish(isFinish);

        return vo;
    }


}
